package com.lrkj.payfee.service;

import java.math.BigDecimal;
import java.util.List;

import com.lrkj.common.core.service.BaseService;
import com.lrkj.payfee.domain.Receipt;
import com.lrkj.waitress.domain.CruiserTask;

/**
 * 收款单Service接口
 *
 * @author yajun_ren
 * @date 2021-08-06
 */
public interface IReceiptService  extends BaseService<Receipt>
{
    /**
     * 查询收款单
     *
     * @param receiptId 收款单ID
     * @return 收款单
     */
    public Receipt selectReceiptById(String receiptId);

    /**
     * 查询收款单列表
     *
     * @param receipt 收款单
     * @return 收款单集合
     */
    public List<Receipt> selectReceiptList(Receipt receipt);

    /**
     * 新增收款单
     *
     * @param receipt 收款单
     * @return 结果
     */
    public int insertReceipt(Receipt receipt);

    /**
     * 修改收款单
     *
     * @param receipt 收款单
     * @return 结果
     */
    public int updateReceipt(Receipt receipt);

    /**
     * 批量删除收款单
     *
     * @param receiptIds 需要删除的收款单ID
     * @return 结果
     */
    public int deleteReceiptByIds(String[] receiptIds);

    /**
     * 删除收款单信息
     *
     * @param receiptId 收款单ID
     * @return 结果
     */
    public int deleteReceiptById(String receiptId);

    /**
     * 收款单作废
     *
     * @param receiptIds 收款单ID
     * @return 结果
     */
    public int nullify(String[] receiptIds);

    BigDecimal indexShow(String time);

}
